Page({
  data: {
    message: "哈哈哈",
  },
  onNavTap() {
    wx.navigateTo({
      url: "/page2/detail/detail?name=why&age=18",
      // 传递参数2
      events: {
        backEvent(data) {
          console.log(data);
        },
        coderwhy(data) {
          console.log(data);
        },
      },
    });
  },
});
